import {Injectable} from "@angular/core";
import {Observable, of} from "rxjs";
import {HttpClient, HttpParams} from "@angular/common/http";
import {catchError, retry} from "rxjs/internal/operators";

@Injectable({
  providedIn: 'root',
})
export class MyhttpService {

  /**
   *
   * @param {string} url   请求的url地址
   * @param obj  业务参数,可能没有传 null。 但是，过滤器上要把固定的五个参数值加进去
   * @returns {Observable<any>}
   */
  public kwPtPost(url: string, obj: any): Observable<any> {
    return this.http.post(url, obj).pipe(
      retry(0),
      catchError((err) => {
        return of([]);
      })
    )
  }

  public kwPtPost_XRTEST(url: string, obj: any): Observable<any> {
    let obj_res;
    if (url == "ksyw/ksjhgl/ksjhLb") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "7074035832",
          "transChannel": "web",
          "channelSerialNo": "7074035832",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143817",
          "ext": null,
          "ksjhList": [{
            "nd": "2020",
            "mc": "2020高考",
            "kssj": "2020-07-06 08:00:00",
            "jssj": "2020-07-09 17:00:00",
            "kslbmc": "国家教育考试",
            "ksxmmc": "高考",
            "kszt": "20",
            "ksjhbh": "1001202001"
          }, {
            "nd": "2020",
            "mc": "2020年8月自考",
            "kssj": "2020-08-01 08:00:00",
            "jssj": "2020-08-02 18:00:00",
            "kslbmc": "国家教育考试",
            "ksxmmc": "自考",
            "kszt": "20",
            "ksjhbh": "1004202001"
          }, {
            "nd": "2020",
            "mc": "2020年9月份自考",
            "kssj": "2020-09-09 00:00:00",
            "jssj": "2020-09-10 00:00:00",
            "kslbmc": "国家教育考试",
            "ksxmmc": "自考",
            "kszt": "20",
            "ksjhbh": "1004202002"
          }, {
            "nd": "2020",
            "mc": "2020年10月份自考",
            "kssj": "2020-10-01 09:00:00",
            "jssj": "2020-10-03 18:00:00",
            "kslbmc": "国家教育考试",
            "ksxmmc": "自考",
            "kszt": "20",
            "ksjhbh": "1004202003"
          }],
          "totalRows": 4
        }
      }
    }
    if (url == "ksyw/ksjhgl/ksccLb") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "6108568548",
          "transChannel": "web",
          "channelSerialNo": "6108568548",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143817",
          "ext": null,
          "ksccList": [{
            "ccmc": "第一天第一场",
            "ccm": "11",
            "ksjhbh": "1001202001",
            "mtfsmc": "全国统一命题",
            "kmkssj": "2020-09-11 09:00:00",
            "kmjssj": "2020-09-11 09:40:00",
            "ksccLbKmmList": [{"kmmc": "语文"}]
          }, {
            "ccmc": "数学",
            "ccm": "12",
            "ksjhbh": "1001202001",
            "mtfsmc": "分省命题",
            "kmkssj": "2020-07-07 15:00:00",
            "kmjssj": "2020-07-07 17:00:00",
            "ksccLbKmmList": [{"kmmc": "数学"}]
          }, {
            "ccmc": "外语",
            "ccm": "22",
            "ksjhbh": "1001202001",
            "mtfsmc": "分省命题",
            "kmkssj": "2020-07-08 15:00:00",
            "kmjssj": "2020-07-08 17:00:00",
            "ksccLbKmmList": [{"kmmc": "外语"}]
          }]
        }
      }
    }
    if (url == "ksyw/bj/userglCx") {
      if (obj.ssym == "kqzl") {
        obj_res = {
          "code": 200,
          "message": "操作成功",
          "result": {
            "msgId": "8807256394",
            "transChannel": "web",
            "channelSerialNo": "8807256394",
            "transCode": null,
            "respDate": "20200916",
            "respTime": "154619",
            "ext": null,
            "userid": null,
            "bj": null
          }
        }
      } else if (obj.ssym == "base") {
        obj_res = {
          "code": 200,
          "message": "操作成功",
          "result": {
            "msgId": "3651086518",
            "transChannel": "web",
            "channelSerialNo": "3651086518",
            "transCode": null,
            "respDate": "20200916",
            "respTime": "143817",
            "ext": null,
            "userid": null,
            "bj": null
          }
        }
      }
    }
    if (url == "jczh/zbgz/cshhqkqxx") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "9121194349",
          "transChannel": "web",
          "channelSerialNo": "9121194349",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143817",
          "ext": null,
          "cshhqkqxxList": [{
            "kqbh": "00",
            "kqmc": "浙江",
            "sjkqbh": "#",
            "xzbm": "330000",
            "ksgljgid": "330000"
          }, {"kqbh": "01", "kqmc": "杭州", "sjkqbh": "00", "xzbm": "330100", "ksgljgid": "330100"}, {
            "kqbh": "02",
            "kqmc": "宁波",
            "sjkqbh": "00",
            "xzbm": "330200",
            "ksgljgid": "330200"
          }, {"kqbh": "03", "kqmc": "温州", "sjkqbh": "00", "xzbm": "330300", "ksgljgid": "330300"}, {
            "kqbh": "04",
            "kqmc": "嘉兴",
            "sjkqbh": "00",
            "xzbm": "330400",
            "ksgljgid": "330400"
          }, {"kqbh": "05", "kqmc": "湖州", "sjkqbh": "00", "xzbm": "330500", "ksgljgid": "330500"}, {
            "kqbh": "06",
            "kqmc": "绍兴",
            "sjkqbh": "00",
            "xzbm": "330600",
            "ksgljgid": "330600"
          }, {"kqbh": "07", "kqmc": "金华", "sjkqbh": "00", "xzbm": "330700", "ksgljgid": "330700"}, {
            "kqbh": "08",
            "kqmc": "衢州",
            "sjkqbh": "00",
            "xzbm": "330800",
            "ksgljgid": "330800"
          }, {"kqbh": "09", "kqmc": "丽水", "sjkqbh": "00", "xzbm": "331100", "ksgljgid": "331100"}, {
            "kqbh": "10",
            "kqmc": "台州",
            "sjkqbh": "00",
            "xzbm": "331000",
            "ksgljgid": "331000"
          }, {"kqbh": "11", "kqmc": "舟山", "sjkqbh": "00", "xzbm": "330900", "ksgljgid": "330900"}]
        }
      }
    }
    if (url == "jczh/zbgz/hqkssjapb") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "5000797631",
          "transChannel": "web",
          "channelSerialNo": "5000797631",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143817",
          "ext": null,
          "zbgzHqkssjapb": [{
            "yfrq": "7月7日",
            "sw": [],
            "xw": [{"kskm": "数学", "kssj": "15:00-17:00", "kskmbz": "数学"}]
          }, {
            "yfrq": "7月8日",
            "sw": [],
            "xw": [{"kskm": "外语", "kssj": "15:00-17:00", "kskmbz": "外语"}]
          }, {"yfrq": "9月11日", "sw": [{"kskm": "语文", "kssj": "09:00-09:40", "kskmbz": ""}], "xw": []}],
          "bt": "2020高考场次与时间表"
        }
      }
    }
    if (url == "jczh/zbgz/hqsjysrwmxqk") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "6265181622",
          "transChannel": "web",
          "channelSerialNo": "6265181622",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143817",
          "ext": null,
          "zsl": 1,
          "ykssl": 0,
          "wkssl": 1,
          "ywcsl": 0
        }
      }
    }
    if (url == "jczh/fzjc/dpsjzs/fp") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "8651748204",
          "transChannel": "web",
          "channelSerialNo": "8651748204",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143817",
          "ext": null,
          "csxxqk": [{"dqmc": "杭州市", "kdsl": "30", "kcsl": "1023", "bmssl": "9"}, {
            "dqmc": "宁波市",
            "kdsl": "14",
            "kcsl": "517",
            "bmssl": "7"
          }, {"dqmc": "温州市", "kdsl": "5", "kcsl": "195", "bmssl": "3"}, {
            "dqmc": "嘉兴市",
            "kdsl": "9",
            "kcsl": "317",
            "bmssl": "3"
          }, {"dqmc": "湖州市", "kdsl": "4", "kcsl": "142", "bmssl": "2"}, {
            "dqmc": "绍兴市",
            "kdsl": "1",
            "kcsl": "97",
            "bmssl": "1"
          }, {"dqmc": "金华市", "kdsl": "6", "kcsl": "259", "bmssl": "3"}, {
            "dqmc": "衢州市",
            "kdsl": "5",
            "kcsl": "100",
            "bmssl": "1"
          }, {"dqmc": "丽水市", "kdsl": "1", "kcsl": "25", "bmssl": "1"}, {
            "dqmc": "台州市",
            "kdsl": "4",
            "kcsl": "161",
            "bmssl": "1"
          }, {"dqmc": "舟山市", "kdsl": "1", "kcsl": "41", "bmssl": "1"}],
          "xgkzhlb": [{"kmmc": "地化技", "kmsl": "4946"}, {"kmmc": "地化生", "kmsl": "11220"}, {
            "kmmc": "地生技",
            "kmsl": "10291"
          }, {"kmmc": "地物化", "kmsl": "3632"}, {"kmmc": "地物技", "kmsl": "9883"}, {
            "kmmc": "地物生",
            "kmsl": "2216"
          }, {"kmmc": "化生技", "kmsl": "9945"}, {"kmmc": "史地化", "kmsl": "3874"}, {
            "kmmc": "史地技",
            "kmsl": "15542"
          }, {"kmmc": "史地生", "kmsl": "9230"}, {"kmmc": "史地物", "kmsl": "1925"}, {
            "kmmc": "史化技",
            "kmsl": "2446"
          }, {"kmmc": "史化生", "kmsl": "5453"}, {"kmmc": "史生技", "kmsl": "6011"}, {
            "kmmc": "史物化",
            "kmsl": "1013"
          }, {"kmmc": "史物技", "kmsl": "1920"}, {"kmmc": "史物生", "kmsl": "617"}, {
            "kmmc": "物化技",
            "kmsl": "7462"
          }, {"kmmc": "物化生", "kmsl": "9709"}, {"kmmc": "物生技", "kmsl": "5295"}, {
            "kmmc": "政地化",
            "kmsl": "3190"
          }, {"kmmc": "政地技", "kmsl": "16215"}, {"kmmc": "政地生", "kmsl": "10317"}, {
            "kmmc": "政地物",
            "kmsl": "1419"
          }, {"kmmc": "政化技", "kmsl": "3055"}, {"kmmc": "政化生", "kmsl": "7206"}, {
            "kmmc": "政史地",
            "kmsl": "39069"
          }, {"kmmc": "政史化", "kmsl": "4588"}, {"kmmc": "政史技", "kmsl": "23649"}, {
            "kmmc": "政史生",
            "kmsl": "16017"
          }, {"kmmc": "政史物", "kmsl": "1207"}, {"kmmc": "政生技", "kmsl": "9799"}, {
            "kmmc": "政物化",
            "kmsl": "1176"
          }, {"kmmc": "政物技", "kmsl": "3027"}, {"kmmc": "政物生", "kmsl": "993"}],
          "ksxxxqlb": [{"kqmc": "杭州市", "zks": "36424"}, {"kqmc": "宁波市", "zks": "12848"}, {
            "kqmc": "温州市",
            "zks": "6519"
          }, {"kqmc": "嘉兴市", "zks": "7819"}, {"kqmc": "湖州市", "zks": "2232"}, {
            "kqmc": "绍兴市",
            "zks": "2848"
          }, {"kqmc": "金华市", "zks": "9467"}, {"kqmc": "衢州市", "zks": "1141"}, {
            "kqmc": "丽水市",
            "zks": "3229"
          }, {"kqmc": "台州市", "zks": "5481"}, {"kqmc": "舟山市", "zks": "605"}],
          "sblb": [{
            "kqmc": "杭州市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "45"}, {"sbmc": "摄像机", "sbsl": "1115"}, {
              "sbmc": "SIP",
              "sbsl": "35"
            }, {"sbmc": "屏蔽终端", "sbsl": "1064"}, {"sbmc": "核验终端", "sbsl": "1054"}, {"sbmc": "其他", "sbsl": "67"}]
          }, {
            "kqmc": "宁波市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "22"}, {"sbmc": "摄像机", "sbsl": "614"}, {
              "sbmc": "SIP",
              "sbsl": "16"
            }, {"sbmc": "屏蔽终端", "sbsl": "610"}, {"sbmc": "核验终端", "sbsl": "612"}, {"sbmc": "其他", "sbsl": "35"}]
          }, {
            "kqmc": "温州市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "17"}, {"sbmc": "摄像机", "sbsl": "232"}, {
              "sbmc": "SIP",
              "sbsl": "7"
            }, {"sbmc": "屏蔽终端", "sbsl": "226"}, {"sbmc": "核验终端", "sbsl": "228"}, {"sbmc": "其他", "sbsl": "18"}]
          }, {
            "kqmc": "嘉兴市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "15"}, {"sbmc": "摄像机", "sbsl": "381"}, {
              "sbmc": "SIP",
              "sbsl": "11"
            }, {"sbmc": "屏蔽终端", "sbsl": "374"}, {"sbmc": "核验终端", "sbsl": "370"}, {"sbmc": "其他", "sbsl": "22"}]
          }, {
            "kqmc": "湖州市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "21"}, {"sbmc": "摄像机", "sbsl": "147"}, {
              "sbmc": "SIP",
              "sbsl": "6"
            }, {"sbmc": "屏蔽终端", "sbsl": "145"}, {"sbmc": "核验终端", "sbsl": "142"}, {"sbmc": "其他", "sbsl": "6"}]
          }, {
            "kqmc": "绍兴市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "18"}, {"sbmc": "摄像机", "sbsl": "122"}, {
              "sbmc": "SIP",
              "sbsl": "3"
            }, {"sbmc": "屏蔽终端", "sbsl": "103"}, {"sbmc": "核验终端", "sbsl": "111"}, {"sbmc": "其他", "sbsl": "9"}]
          }, {
            "kqmc": "金华市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "20"}, {"sbmc": "摄像机", "sbsl": "279"}, {
              "sbmc": "SIP",
              "sbsl": "8"
            }, {"sbmc": "屏蔽终端", "sbsl": "280"}, {"sbmc": "核验终端", "sbsl": "284"}, {"sbmc": "其他", "sbsl": "17"}]
          }, {
            "kqmc": "衢州市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "6"}, {"sbmc": "摄像机", "sbsl": "116"}, {
              "sbmc": "SIP",
              "sbsl": "7"
            }, {"sbmc": "屏蔽终端", "sbsl": "106"}, {"sbmc": "核验终端", "sbsl": "131"}, {"sbmc": "其他", "sbsl": "13"}]
          }, {
            "kqmc": "丽水市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "5"}, {"sbmc": "摄像机", "sbsl": "53"}, {
              "sbmc": "SIP",
              "sbsl": "4"
            }, {"sbmc": "屏蔽终端", "sbsl": "49"}, {"sbmc": "核验终端", "sbsl": "57"}, {"sbmc": "其他", "sbsl": "7"}]
          }, {
            "kqmc": "台州市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "11"}, {"sbmc": "摄像机", "sbsl": "217"}, {
              "sbmc": "SIP",
              "sbsl": "6"
            }, {"sbmc": "屏蔽终端", "sbsl": "214"}, {"sbmc": "核验终端", "sbsl": "228"}, {"sbmc": "其他", "sbsl": "9"}]
          }, {
            "kqmc": "舟山市",
            "sbqklb": [{"sbmc": "NVR", "sbsl": "3"}, {"sbmc": "摄像机", "sbsl": "63"}, {
              "sbmc": "SIP",
              "sbsl": "3"
            }, {"sbmc": "屏蔽终端", "sbsl": "60"}, {"sbmc": "核验终端", "sbsl": "77"}, {"sbmc": "其他", "sbsl": "6"}]
          }],
          "gzrylb": [{"kqmc": "杭州市", "zrs": "2804"}, {"kqmc": "宁波市", "zrs": "1513"}, {
            "kqmc": "温州市",
            "zrs": "527"
          }, {"kqmc": "嘉兴市", "zrs": "824"}, {"kqmc": "湖州市", "zrs": "390"}, {
            "kqmc": "绍兴市",
            "zrs": "247"
          }, {"kqmc": "金华市", "zrs": "687"}, {"kqmc": "衢州市", "zrs": "343"}, {"kqmc": "丽水市", "zrs": "80"}, {
            "kqmc": "台州市",
            "zrs": "437"
          }, {"kqmc": "舟山市", "zrs": "117"}]
        }
      }
    }
    if (url == "jczh/zbgz/hqkdkcbzqk") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "1094387276",
          "transChannel": "web",
          "channelSerialNo": "1094387276",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143818",
          "ext": null,
          "kdzsl": 1,
          "yglkdsl": 1,
          "kczsl": 9078,
          "yglkcsl": 8941
        }
      }
    }
    if (url == "jczh/zbgz/akltjksbmsl") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "3697407876",
          "transChannel": "web",
          "channelSerialNo": "3697407876",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143817",
          "ext": null,
          "zbgzAkltjksbmslList": [{"kmmc": "语文", "bkkssl": 180}]
        }
      }
    }
    if (url == "jczh/zbgz/hqgzryapqk") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "3651035209",
          "transChannel": "web",
          "channelSerialNo": "3651035209",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143817",
          "ext": null,
          "zbgzHqgzryapqkList": [{"gzrylx": "主考", "gzrysl": 1}, {"gzrylx": "副主考", "gzrysl": 2}, {
            "gzrylx": "监考员",
            "gzrysl": 43
          }],
          "wcjd": "2.33"
        }
      }
    }
    if (url == "jczh/zbgz/hqbmsbpaqk") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "8014658943",
          "transChannel": "web",
          "channelSerialNo": "8014658943",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "143817",
          "ext": null,
          "zbgzHqbmsbpaqkList": [{"yfrq": "2020-09-16", "zcs": 0, "ycs": 0}, {
            "yfrq": "2020-09-15",
            "zcs": 0,
            "ycs": 0
          }, {"yfrq": "2020-09-14", "zcs": 0, "ycs": 0}, {
            "yfrq": "2020-09-13",
            "zcs": 0,
            "ycs": 0
          }, {"yfrq": "2020-09-12", "zcs": 0, "ycs": 0}, {"yfrq": "2020-09-11", "zcs": 0, "ycs": 0}]
        }
      }
    }
    if (url == "ksyw/ksgljg/jgxxXq") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "9403744067",
          "transChannel": "web",
          "channelSerialNo": "9403744067",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "154620",
          "ext": null,
          "sjgljgid": "#",
          "jdzx": "#",
          "ksgljgmc": "浙江省教育考试院",
          "ksgljgjc": "浙江省考试院",
          "ksszsfm": "330000",
          "ksszsf": "浙江省",
          "ksszsqm": "330100",
          "ksszsq": "杭州市",
          "ksszqxm": "330106",
          "ksszqx": "西湖区",
          "ksgljgdz": "杭州市文二路331号",
          "ksgljgjd": 120.1258390000,
          "ksgljgwd": 30.2814320000,
          "gxfwxzqhm": "330000",
          "fzrxm": "孙恒",
          "fzrdh": "13906521168",
          "sipuri": "sip:zjjy.cnjy@zjjy.cnjy:9902",
          "jsfzrxm": "尚志勇",
          "jsfzrdh": "18626861855",
          "lxrxm": "尚志勇",
          "lxrdh": "18626861855",
          "zwxljrwz": "8003",
          "zwlyipdz": "50.56.136.140",
          "lmtip": "47.111.5.196",
          "lmtdkh": "8880",
          "lmtkzdkh": "8880",
          "zhzxmc": "浙江省考试指挥中心",
          "zhzxdh": "0571-88908511",
          "fzrbh": "20062406371200920665099402766336",
          "lxrbh": "20062406371200920665104050055168",
          "jsfzrbh": "20062406371200920665104050055168",
          "zhzxid": "Z33000001",
          "ksgljgid": null
        }
      }
    }
    if (url == "jczh/zbgz/hqkdkcbzqk") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "6526839027",
          "transChannel": "web",
          "channelSerialNo": "6526839027",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "154620",
          "ext": null,
          "kdzsl": 1,
          "yglkdsl": 1,
          "kczsl": 9078,
          "yglkcsl": 8941
        }
      }
    }
    if (url == "jczh/zbgz/hqgzryapqk") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "725975905",
          "transChannel": "web",
          "channelSerialNo": "725975905",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "154620",
          "ext": null,
          "zbgzHqgzryapqkList": [{"gzrylx": "主考", "gzrysl": 1}, {"gzrylx": "副主考", "gzrysl": 2}, {
            "gzrylx": "监考员",
            "gzrysl": 43
          }],
          "wcjd": "2.33"
        }
      }
    }
    if (url == "sbyw/pb/cxkyxhlb") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "9062244410",
          "transChannel": "web",
          "channelSerialNo": "9062244410",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "154620",
          "ext": null,
          "kyxhlb": [],
          "totalRows": null
        }
      }
    }
    if (url == "jczh/fzjc/dpsjzs/1") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "9531692257",
          "transChannel": "web",
          "channelSerialNo": "9531692257",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "154620",
          "ext": null,
          "tqqk": {"wd": "多云 28 ℃～32℃", "fl": "≤3级", "fx": "东南", "sd": " 69"},
          "kssjap": {"ksrq": null, "kskm": null, "kssj": null, "jssj": null, "kszls": null},
          "sbqklb": [{"sbmc": "NVR", "sbsl": "183"}, {"sbmc": "摄像机", "sbsl": "3339"}, {
            "sbmc": "SIP",
            "sbsl": "106"
          }, {"sbmc": "屏蔽终端", "sbsl": "3231"}, {"sbmc": "核验终端", "sbsl": "3294"}, {"sbmc": "其他", "sbsl": "209"}],
          "ksqkxx": {
            "zks": "88613",
            "mssl": "160613",
            "wssl": "165124",
            "hzsl": "319607",
            "qtmzsl": "6130",
            "yjwjssl": ["313793", "11944"],
            "klsl": ["227157", "7083", "33854", "57643"]
          },
          "gzryqk": [{"gzrymc": "主考", "gzrysl": "80"}, {"gzrymc": "副主考", "gzrysl": "244"}, {
            "gzrymc": "监考员",
            "gzrysl": "6044"
          }, {"gzrymc": "视频监考员", "gzrysl": "447"}, {"gzrymc": "其他", "gzrysl": "1154"}],
          "csxxqk": [{"dqmc": "浙江省", "kdsl": "80", "kcsl": "2877", "bmssl": "32"}, {
            "dqmc": "杭州市",
            "kdsl": "30",
            "kcsl": "1023",
            "bmssl": "9"
          }, {"dqmc": "宁波市", "kdsl": "14", "kcsl": "517", "bmssl": "7"}, {
            "dqmc": "温州市",
            "kdsl": "5",
            "kcsl": "195",
            "bmssl": "3"
          }, {"dqmc": "嘉兴市", "kdsl": "9", "kcsl": "317", "bmssl": "3"}, {
            "dqmc": "湖州市",
            "kdsl": "4",
            "kcsl": "142",
            "bmssl": "2"
          }, {"dqmc": "绍兴市", "kdsl": "1", "kcsl": "97", "bmssl": "1"}, {
            "dqmc": "金华市",
            "kdsl": "6",
            "kcsl": "259",
            "bmssl": "3"
          }, {"dqmc": "衢州市", "kdsl": "5", "kcsl": "100", "bmssl": "1"}, {
            "dqmc": "丽水市",
            "kdsl": "1",
            "kcsl": "25",
            "bmssl": "1"
          }, {"dqmc": "台州市", "kdsl": "4", "kcsl": "161", "bmssl": "1"}, {
            "dqmc": "舟山市",
            "kdsl": "1",
            "kcsl": "41",
            "bmssl": "1"
          }],
          "xgkzhlb": [{"kmmc": "地化技", "kmsl": "4946"}, {"kmmc": "地化生", "kmsl": "11220"}, {
            "kmmc": "地生技",
            "kmsl": "10291"
          }, {"kmmc": "地物化", "kmsl": "3632"}, {"kmmc": "地物技", "kmsl": "9883"}, {
            "kmmc": "地物生",
            "kmsl": "2216"
          }, {"kmmc": "化生技", "kmsl": "9945"}, {"kmmc": "史地化", "kmsl": "3874"}, {
            "kmmc": "史地技",
            "kmsl": "15542"
          }, {"kmmc": "史地生", "kmsl": "9230"}, {"kmmc": "史地物", "kmsl": "1925"}, {
            "kmmc": "史化技",
            "kmsl": "2446"
          }, {"kmmc": "史化生", "kmsl": "5453"}, {"kmmc": "史生技", "kmsl": "6011"}, {
            "kmmc": "史物化",
            "kmsl": "1013"
          }, {"kmmc": "史物技", "kmsl": "1920"}, {"kmmc": "史物生", "kmsl": "617"}, {
            "kmmc": "物化技",
            "kmsl": "7462"
          }, {"kmmc": "物化生", "kmsl": "9709"}, {"kmmc": "物生技", "kmsl": "5295"}, {
            "kmmc": "政地化",
            "kmsl": "3190"
          }, {"kmmc": "政地技", "kmsl": "16215"}, {"kmmc": "政地生", "kmsl": "10317"}, {
            "kmmc": "政地物",
            "kmsl": "1419"
          }, {"kmmc": "政化技", "kmsl": "3055"}, {"kmmc": "政化生", "kmsl": "7206"}, {
            "kmmc": "政史地",
            "kmsl": "39069"
          }, {"kmmc": "政史化", "kmsl": "4588"}, {"kmmc": "政史技", "kmsl": "23649"}, {
            "kmmc": "政史生",
            "kmsl": "16017"
          }, {"kmmc": "政史物", "kmsl": "1207"}, {"kmmc": "政生技", "kmsl": "9799"}, {
            "kmmc": "政物化",
            "kmsl": "1176"
          }, {"kmmc": "政物技", "kmsl": "3027"}, {"kmmc": "政物生", "kmsl": "993"}]
        }
      }
    }
    if (url == "jczh/kqzl/hqksrcsl") {
      obj_res = {
        "code": 200,
        "message": "操作成功",
        "result": {
          "msgId": "442411135",
          "transChannel": "web",
          "channelSerialNo": "442411135",
          "transCode": null,
          "respDate": "20200916",
          "respTime": "154620",
          "ext": null,
          "kszsl": 180,
          "hytgsl": 5
        }
      }
    }
    return of(obj_res);
  }

  constructor(private http: HttpClient) {

  }

}
